package com.yicong.ants.bean.coin;

import com.yicong.ants.bean.account.UserBean;

/**
 * @author cch
 * @version 2020/7/16
 */
public class CoinInfo extends UserBean {
    String coin_total;
    String coin_today;
    String coin_today_task;
    String coin_today_contribution;
    String coin_task_wait_return;
    String coin_can_trans;
    int have_pay_password;
    String consumer_amount;
    String travel_amount;
    String contribution_amount;
    String contribution_today;
    String contribution_today_task;
    String contribution_today_recommend;
    String subsidy_total;
    String subsidy_today;
    String unit;
    int transfer_confirm_num;

    public CoinInfo() {
    }

    public String getCoin_total() {
        return this.coin_total;
    }

    public String getCoin_today() {
        return this.coin_today;
    }

    public String getCoin_today_task() {
        return this.coin_today_task;
    }

    public String getCoin_today_contribution() {
        return this.coin_today_contribution;
    }

    public String getCoin_task_wait_return() {
        return this.coin_task_wait_return;
    }

    public String getCoin_can_trans() {
        return this.coin_can_trans;
    }

    public int getHave_pay_password() {
        return this.have_pay_password;
    }

    public String getConsumer_amount() {
        return this.consumer_amount;
    }

    public String getTravel_amount() {
        return this.travel_amount;
    }

    public String getContribution_amount() {
        return this.contribution_amount;
    }

    public String getContribution_today() {
        return this.contribution_today;
    }

    public String getContribution_today_task() {
        return this.contribution_today_task;
    }

    public String getContribution_today_recommend() {
        return this.contribution_today_recommend;
    }

    public String getSubsidy_total() {
        return this.subsidy_total;
    }

    public String getSubsidy_today() {
        return this.subsidy_today;
    }

    public String getUnit() {
        return this.unit;
    }

    public int getTransfer_confirm_num() {
        return this.transfer_confirm_num;
    }

    public void setCoin_total(String coin_total) {
        this.coin_total = coin_total;
    }

    public void setCoin_today(String coin_today) {
        this.coin_today = coin_today;
    }

    public void setCoin_today_task(String coin_today_task) {
        this.coin_today_task = coin_today_task;
    }

    public void setCoin_today_contribution(String coin_today_contribution) {
        this.coin_today_contribution = coin_today_contribution;
    }

    public void setCoin_task_wait_return(String coin_task_wait_return) {
        this.coin_task_wait_return = coin_task_wait_return;
    }

    public void setCoin_can_trans(String coin_can_trans) {
        this.coin_can_trans = coin_can_trans;
    }

    public void setHave_pay_password(int have_pay_password) {
        this.have_pay_password = have_pay_password;
    }

    public void setConsumer_amount(String consumer_amount) {
        this.consumer_amount = consumer_amount;
    }

    public void setTravel_amount(String travel_amount) {
        this.travel_amount = travel_amount;
    }

    public void setContribution_amount(String contribution_amount) {
        this.contribution_amount = contribution_amount;
    }

    public void setContribution_today(String contribution_today) {
        this.contribution_today = contribution_today;
    }

    public void setContribution_today_task(String contribution_today_task) {
        this.contribution_today_task = contribution_today_task;
    }

    public void setContribution_today_recommend(String contribution_today_recommend) {
        this.contribution_today_recommend = contribution_today_recommend;
    }

    public void setSubsidy_total(String subsidy_total) {
        this.subsidy_total = subsidy_total;
    }

    public void setSubsidy_today(String subsidy_today) {
        this.subsidy_today = subsidy_today;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setTransfer_confirm_num(int transfer_confirm_num) {
        this.transfer_confirm_num = transfer_confirm_num;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof CoinInfo)) return false;
        final CoinInfo other = (CoinInfo) o;
        if (!other.canEqual((Object) this)) return false;
        if (!super.equals(o)) return false;
        final Object this$coin_total = this.getCoin_total();
        final Object other$coin_total = other.getCoin_total();
        if (this$coin_total == null ? other$coin_total != null : !this$coin_total.equals(other$coin_total))
            return false;
        final Object this$coin_today = this.getCoin_today();
        final Object other$coin_today = other.getCoin_today();
        if (this$coin_today == null ? other$coin_today != null : !this$coin_today.equals(other$coin_today))
            return false;
        final Object this$coin_today_task = this.getCoin_today_task();
        final Object other$coin_today_task = other.getCoin_today_task();
        if (this$coin_today_task == null ? other$coin_today_task != null : !this$coin_today_task.equals(other$coin_today_task))
            return false;
        final Object this$coin_today_contribution = this.getCoin_today_contribution();
        final Object other$coin_today_contribution = other.getCoin_today_contribution();
        if (this$coin_today_contribution == null ? other$coin_today_contribution != null : !this$coin_today_contribution.equals(other$coin_today_contribution))
            return false;
        final Object this$coin_task_wait_return = this.getCoin_task_wait_return();
        final Object other$coin_task_wait_return = other.getCoin_task_wait_return();
        if (this$coin_task_wait_return == null ? other$coin_task_wait_return != null : !this$coin_task_wait_return.equals(other$coin_task_wait_return))
            return false;
        final Object this$coin_can_trans = this.getCoin_can_trans();
        final Object other$coin_can_trans = other.getCoin_can_trans();
        if (this$coin_can_trans == null ? other$coin_can_trans != null : !this$coin_can_trans.equals(other$coin_can_trans))
            return false;
        if (this.getHave_pay_password() != other.getHave_pay_password()) return false;
        final Object this$consumer_amount = this.getConsumer_amount();
        final Object other$consumer_amount = other.getConsumer_amount();
        if (this$consumer_amount == null ? other$consumer_amount != null : !this$consumer_amount.equals(other$consumer_amount))
            return false;
        final Object this$travel_amount = this.getTravel_amount();
        final Object other$travel_amount = other.getTravel_amount();
        if (this$travel_amount == null ? other$travel_amount != null : !this$travel_amount.equals(other$travel_amount))
            return false;
        final Object this$contribution_amount = this.getContribution_amount();
        final Object other$contribution_amount = other.getContribution_amount();
        if (this$contribution_amount == null ? other$contribution_amount != null : !this$contribution_amount.equals(other$contribution_amount))
            return false;
        final Object this$contribution_today = this.getContribution_today();
        final Object other$contribution_today = other.getContribution_today();
        if (this$contribution_today == null ? other$contribution_today != null : !this$contribution_today.equals(other$contribution_today))
            return false;
        final Object this$contribution_today_task = this.getContribution_today_task();
        final Object other$contribution_today_task = other.getContribution_today_task();
        if (this$contribution_today_task == null ? other$contribution_today_task != null : !this$contribution_today_task.equals(other$contribution_today_task))
            return false;
        final Object this$contribution_today_recommend = this.getContribution_today_recommend();
        final Object other$contribution_today_recommend = other.getContribution_today_recommend();
        if (this$contribution_today_recommend == null ? other$contribution_today_recommend != null : !this$contribution_today_recommend.equals(other$contribution_today_recommend))
            return false;
        final Object this$subsidy_total = this.getSubsidy_total();
        final Object other$subsidy_total = other.getSubsidy_total();
        if (this$subsidy_total == null ? other$subsidy_total != null : !this$subsidy_total.equals(other$subsidy_total))
            return false;
        final Object this$subsidy_today = this.getSubsidy_today();
        final Object other$subsidy_today = other.getSubsidy_today();
        if (this$subsidy_today == null ? other$subsidy_today != null : !this$subsidy_today.equals(other$subsidy_today))
            return false;
        final Object this$unit = this.getUnit();
        final Object other$unit = other.getUnit();
        if (this$unit == null ? other$unit != null : !this$unit.equals(other$unit)) return false;
        if (this.getTransfer_confirm_num() != other.getTransfer_confirm_num()) return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof CoinInfo;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = super.hashCode();
        final Object $coin_total = this.getCoin_total();
        result = result * PRIME + ($coin_total == null ? 43 : $coin_total.hashCode());
        final Object $coin_today = this.getCoin_today();
        result = result * PRIME + ($coin_today == null ? 43 : $coin_today.hashCode());
        final Object $coin_today_task = this.getCoin_today_task();
        result = result * PRIME + ($coin_today_task == null ? 43 : $coin_today_task.hashCode());
        final Object $coin_today_contribution = this.getCoin_today_contribution();
        result = result * PRIME + ($coin_today_contribution == null ? 43 : $coin_today_contribution.hashCode());
        final Object $coin_task_wait_return = this.getCoin_task_wait_return();
        result = result * PRIME + ($coin_task_wait_return == null ? 43 : $coin_task_wait_return.hashCode());
        final Object $coin_can_trans = this.getCoin_can_trans();
        result = result * PRIME + ($coin_can_trans == null ? 43 : $coin_can_trans.hashCode());
        result = result * PRIME + this.getHave_pay_password();
        final Object $consumer_amount = this.getConsumer_amount();
        result = result * PRIME + ($consumer_amount == null ? 43 : $consumer_amount.hashCode());
        final Object $travel_amount = this.getTravel_amount();
        result = result * PRIME + ($travel_amount == null ? 43 : $travel_amount.hashCode());
        final Object $contribution_amount = this.getContribution_amount();
        result = result * PRIME + ($contribution_amount == null ? 43 : $contribution_amount.hashCode());
        final Object $contribution_today = this.getContribution_today();
        result = result * PRIME + ($contribution_today == null ? 43 : $contribution_today.hashCode());
        final Object $contribution_today_task = this.getContribution_today_task();
        result = result * PRIME + ($contribution_today_task == null ? 43 : $contribution_today_task.hashCode());
        final Object $contribution_today_recommend = this.getContribution_today_recommend();
        result = result * PRIME + ($contribution_today_recommend == null ? 43 : $contribution_today_recommend.hashCode());
        final Object $subsidy_total = this.getSubsidy_total();
        result = result * PRIME + ($subsidy_total == null ? 43 : $subsidy_total.hashCode());
        final Object $subsidy_today = this.getSubsidy_today();
        result = result * PRIME + ($subsidy_today == null ? 43 : $subsidy_today.hashCode());
        final Object $unit = this.getUnit();
        result = result * PRIME + ($unit == null ? 43 : $unit.hashCode());
        result = result * PRIME + this.getTransfer_confirm_num();
        return result;
    }

    public String toString() {
        return "CoinInfo(coin_total=" + this.getCoin_total() + ", coin_today=" + this.getCoin_today() + ", coin_today_task=" + this.getCoin_today_task() + ", coin_today_contribution=" + this.getCoin_today_contribution() + ", coin_task_wait_return=" + this.getCoin_task_wait_return() + ", coin_can_trans=" + this.getCoin_can_trans() + ", have_pay_password=" + this.getHave_pay_password() + ", consumer_amount=" + this.getConsumer_amount() + ", travel_amount=" + this.getTravel_amount() + ", contribution_amount=" + this.getContribution_amount() + ", contribution_today=" + this.getContribution_today() + ", contribution_today_task=" + this.getContribution_today_task() + ", contribution_today_recommend=" + this.getContribution_today_recommend() + ", subsidy_total=" + this.getSubsidy_total() + ", subsidy_today=" + this.getSubsidy_today() + ", unit=" + this.getUnit() + ", transfer_confirm_num=" + this.getTransfer_confirm_num() + ")";
    }
}
